package cn.core.act.interceptors;

import org.activiti.api.runtime.shared.identity.UserGroupManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 工作流 >>> 身份认证配置
 */
@Configuration
public class ActivitiSpringIdentityAutoConfiguration {

  @Bean
  public UserGroupManager userGroupManager() {
    return new UserGroupManager() {
      @Override
      public List<String> getUserGroups(String s) {
        return null;
      }
      @Override
      public List<String> getUserRoles(String s) {
        return null;
      }
      @Override
      public List<String> getGroups() {
        return null;
      }
      @Override
      public List<String> getUsers() {
        return null;
      }
    };
  }

}
